/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bus;
import java.util.List;
import pojo.Laptop;
import dao.LaptopDAO;
/**
 *
 * @author NhatTan
 */
public class LaptopBUS {
     public static List<Laptop> layDanhSachLaptop() {
        return LaptopDAO.layDanhSachLaptop();
    }

    public static boolean themLaptop(Laptop laptop) {
       return LaptopDAO.themLaptop(laptop);
    }

    public static boolean capNhatLaptop(Laptop laptop) {
       return LaptopDAO.capNhatLaptop(laptop);
    }

    public static boolean xoaLaptop(Laptop laptop) {
       return LaptopDAO.xoaLaptop(laptop);
    }
}
